﻿#region Using directives

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using MCMLXVII.BackEnd.Services.SystemConfiguration.Messages;
using MCMLXVII.BackEnd.Services.Common.Messages;
using MCMLXVII.BackEnd.Services.OrganizationChart.Interfaces;
using MCMLXVII.BackEnd.Services.OrganizationChart.Messages;

#endregion

namespace MCMLXVII.Tools.OrganizationChart
{
    partial class frmMemberAuditDetail : Form
    {
        private int _NodeID, _MemberID;
        private msgOrganizationMemberAuditInfo[] inf;

        public frmMemberAuditDetail(int NodeID, int MemberID)
        {
            _NodeID = NodeID;
            _MemberID = MemberID;
            inf = BusinessActions.GetOrganizationMemberAudit (_NodeID, _MemberID);
            InitializeComponent();
            foreach (msgOrganizationMemberAuditInfo  item in inf)
            {

                dataGridView1.Rows.Add(item.OperationDate, item.Description, item.NodeID, item.SecurityProviderID, item.DirectoryIdentifier, item.Language, item.ClassProperties , item.OperationClass, item.OperationMemberID, item.OperationMemberName);
            }
        }

        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {

        }
    }
}